package com.moli.iov.protocol.model.dto.realtime;

/*
 * 文件名： DriverMotorData.java
 * 
 * 创建日期： 2016年11月30日
 *
 * Copyright(C) 2016, by <a href="mailto:liws@xingyuanauto.com">liws</a>.
 *
 * 原始作者: liws
 *
 */


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 驱动电机数据
 *
 * @author <a href="mailto:liws@xingyuanauto.com">liws</a>
 *
 * @version $Revision$
 *
 * @since 2016年11月30日
 */
public class DriveMotorDto implements Serializable{

	 /** 
	 */ 
	public static final long serialVersionUID = 1L;
	
	/**
	 * 驱动电机个数 size = 1
	 */
	private short driveMotorSum;
	
	/**
	 * 驱动电机信息列表
	 */
	private List<DriveMotorInfoDto> listDriveMotors = new ArrayList<>();
	
	/**
	*
	* @return the driveMotorSum
	*/
	
	public short getDriveMotorSum() {
		return driveMotorSum;
	}
	/**
	*
	* @param driveMotorSum the driveMotorSum to set
	*/
	public void setDriveMotorSum(short driveMotorSum) {
		this.driveMotorSum = driveMotorSum;
	}
	public void setListDriveMotors(List<DriveMotorInfoDto> listDriveMotors) {
		this.listDriveMotors = listDriveMotors;
	}
	public List<DriveMotorInfoDto> getListDriveMotors() {
		return listDriveMotors;
	}
	@Override
	public String toString() {
		return "DriveMotorDto [driveMotorSum=" + driveMotorSum
				+ ", listDriveMotors=" + listDriveMotors + "]";
	}

	
	
}
